<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背包</title>
    <link rel="stylesheet" href="backpack.css">
</head>
<body>
    <div class="backpack-container">
        <div class="backpack-header">
            <h2 class="backpack-title">背包</h2>
            <button class="close-btn" id="closeBackpack">×</button>
        </div>
        <div class="backpack-body">
            <div class="backpack-grid" id="backpackGrid">
                <!-- 物品将通过 JS 动态生成 -->
            </div>
        </div>
    </div>

    <script src="backpack.js"></script>
</body>
</html>

